/**
 * 
 */
package com.tripwego.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.tripwego.shared.dto.DayDto;

/**
 * @author Julien
 *
 */
public interface DayDaoAsync {

	/**
	 * 
	 * @see com.tripwego.client.service.DayDao#create(com.tripwego.shared.dto.DayDto)
	 */
	void create(DayDto dayDto, AsyncCallback<Long> callback);

	/**
	 * 
	 * @see com.tripwego.client.service.DayDao#delete(com.tripwego.shared.dto.DayDto)
	 */
	void delete(DayDto dayDto, AsyncCallback<Void> callback);

	/**
	 * 
	 * @see com.tripwego.client.service.DayDao#findByEtapeId(java.lang.Long)
	 */
	void findByEtapeId(Long etapeId, AsyncCallback<List<DayDto>> callback);

	/**
	 * 
	 * @see com.tripwego.client.service.DayDao#update(com.tripwego.shared.dto.DayDto)
	 */
	void update(DayDto dayDto, AsyncCallback<Void> callback);

}
